/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.goods.dao;

import java.util.List;
import java.util.Map;

import com.jeesite.common.dao.CrudDao;
import com.jeesite.common.mybatis.annotation.MyBatisDao;
import com.jeesite.modules.goods.entity.ZtGoodsOrder;

/**
 * 测试数据DAO接口
 * @author ThinkGem
 * @version 2018-04-22
 */
@MyBatisDao
public interface ZtGoodsOrderDao extends CrudDao<ZtGoodsOrder> {
	public ZtGoodsOrder getByOrder(ZtGoodsOrder ztGoodsOrder);
	public List<ZtGoodsOrder> getListByOrder(ZtGoodsOrder ztGoodsOrder);
	public List<ZtGoodsOrder> findListByNew(ZtGoodsOrder ztGoodsOrder);
	public List<ZtGoodsOrder> findGhMh(ZtGoodsOrder ztGoodsOrder);
	public List<ZtGoodsOrder> findwc(ZtGoodsOrder ztGoodsOrder);
	public List<ZtGoodsOrder> findAllOrder(ZtGoodsOrder ztGoodsOrder);
	public ZtGoodsOrder getOrder(ZtGoodsOrder ztGoodsOrder);
	public void updateOrderstatus(ZtGoodsOrder ztGoodsOrder);
	public List<ZtGoodsOrder> getJSAll(ZtGoodsOrder ztGoodsOrder);//结算的订单
	public void batchUpdate(List<ZtGoodsOrder> list);
	public Integer getNum(ZtGoodsOrder ztGoodsOrder);
	public void updateAddr(ZtGoodsOrder ztGoodsOrder);
	public List<Map> getByGoods(ZtGoodsOrder ztGoodsOrder);
	public void batchUpdateJDOrder(List<ZtGoodsOrder> list);
	public void batchUpdateIsJS(List<ZtGoodsOrder> list);
	public void batchUpdateChannel(List<ZtGoodsOrder> list);
	public void batchUpdateState(List<ZtGoodsOrder> list);

    List<ZtGoodsOrder> findByOrder(ZtGoodsOrder ztGoodsOrder);

	void saveAll(List<ZtGoodsOrder> list);

}